let clipX = rtl ? x + controlsVisible : x;
let clipY = y + (fullHeight - clipHeight) / 2;
+ let overviewSpacing = Main.overview._spacing;
let widthAdjust = this._zoomOut ? controlsNatural : controlsVisible;
- widthAdjust += Main.overview._spacing;
+ widthAdjust += overviewSpacing;
width -= widthAdjust;
if (rtl)
x += widthAdjust;
monitors[i].y,
monitors[i].width,
monitors[i].height);
- this._workspacesViews[m].setGeometry(monitors[i].x,
- monitors[i].y,
- monitors[i].width,
- monitors[i].height);
+ this._workspacesViews[m].setGeometry(monitors[i].x + overviewSpacing/2,
+ monitors[i].y + overviewSpacing/2,
+ monitors[i].width - overviewSpacing,
+ monitors[i].height - overviewSpacing);
m++;
}
}